package operation;

import book.BookList;

public class ShowOperation implements Operation {
    @Override
    public void work(BookList booklist) {
        System.out.println("展示图书");
        int currentSize = booklist.getUsedsize();
        for (int i = 0; i < currentSize; i++) {
            System.out.println(booklist.getBooks(i));
        }
    }
}
